Keeping styles backward compatible can be a problem — particularly if you're using complex style with class variants.
让样式保持向后兼容可能有一定难度,尤其是在通过类变体应用复杂样式的情况下。
Old behaviour: an anonymous inherited call could call through to any method in a parent class that accepted arguments compatible to the parameters of the current method.
原先的行为:一个匿名继承调用可以通过调用父类中的任何方法接受参数兼容当前方法的参数。
If your table name is not compatible with ActiveRecord naming conventions, then you need to explicitly map it using set_table_name inside your model class definition.
如果你的表格名与ActiveRecord命名规则不一致,你需要用set _ table_name强制把它加到模型类的定义中。